func github.com/gotd/td/telegram/downloader.attrOpt

11 uses

	github.com/gotd/td/telegram/downloader (current package)
		metrics.go#L97: func attrOpt(kv ...attribute.KeyValue) metric.MeasurementOption {
		metrics.go#L148: 		o.kindAttrs[k] = attrOpt(attribute.String("kind", kind))
		metrics.go#L150: 			o.requestAttrs[k][r] = attrOpt(
		metrics.go#L225: 	o.downloads.Add(ctx, 1, attrOpt(attribute.String("result", result)))
		metrics.go#L259: 	o.hashMismatches.Add(ctx, 1, attrOpt(attribute.String("kind", kind)))
		metrics.go#L267: 	o.refreshes.Add(ctx, 1, attrOpt(attribute.String("result", result)))
		metrics.go#L283: 	o.backoffs.Add(ctx, 1, attrOpt(attribute.String("reason", reason)))
		metrics.go#L300: 	o.verify.Add(ctx, 1, attrOpt(attribute.String("result", result)))
		metrics.go#L313: 	o.retries.Add(ctx, 1, attrOpt(attribute.String("operation", e.Operation)))
		metrics.go#L325: 	o.retriesExhausted.Add(ctx, 1, attrOpt(attribute.String("operation", op)))
		metrics.go#L393: 	opt := attrOpt(attrs...)